package org.api.result;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ApiException extends Exception {
    private final R r;

    public ApiException(R r) {
        super(r.getMsg());
        this.r = r;
    }
}
